package com.ws.shop.dao;

import java.util.List;

import com.ws.shop.bean.Page;
import com.ws.shop.entity.ArticleCategories;

public interface ArticleCategoriesDao {

	public List<ArticleCategories> findArticleCategoriesListAll();
	public List<ArticleCategories> findCategoriesByfid(final long fid);
	public void saveOrUpdate(ArticleCategories articleCategories);
	public Page findArticleCategoriesListByPage(int pageno, int pagesize,
			String name);
	public ArticleCategories findArticleCategoriesById(int id);
	public List<ArticleCategories> findAllChildArticleCategoriesById(int id,
			int single);
	public List<ArticleCategories> findArticleCategoriesTreeList();
	public List<ArticleCategories> findArticleCategoriesParentTreeById(int id);
	public List<ArticleCategories> findChildArticleCategoriesTreeById(int id);
	public Page findChildArticleCategoriesListPage(int pageno, int pagesize,
			int fid);
	public List<ArticleCategories> findChildArticleCategoriesWithArticleById(
			int id);
	public List<ArticleCategories> findBottomNavigationWithArticle(String acids);

}
